package com.huilian.iotbox.admin.service;

import com.github.pagehelper.PageInfo;
import com.huilian.iotbox.admin.quartz.job.StatsDayCommodityStockRecordJob;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.CommodityStockRecordDto;
import com.huilian.iotbox.data.vo.CommodityStockRecordVo;

import java.util.List;

/**
 * @author 龙 路 飞
 * @CreateDate: 2023-08-31 15:20
 * @Description:
 */
public interface CommodityStockRecordService {
    /**
     * 统计使用,根据开始时间和结束时间查询
     */
    List<CommodityStockRecordVo> findCommodityStockRecordByTime(String startTime, String endTime);

    PageInfo findCommodityStockRecordByMultipleConditions(CommodityStockRecordDto commodityStockRecordDto);

    ServerResponse exportList(CommodityStockRecordDto commodityStockRecordDto);

    PageInfo stockStatisticList(CommodityStockRecordDto commodityStockRecordDto);

    ServerResponse exportStockStatisticList(CommodityStockRecordDto commodityStockRecordDto);

    ServerResponse stockStatistic(CommodityStockRecordDto commodityStockRecordDto);
}
